package BookManage.Operation;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 强仔
 * Date: 2022-01-19
 * Time: 10:39
 */
public class DeleteOperation implements IOperation {

    @Override
    public void work() {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入所要删除的书籍的Id");
        bookDao.deleteBook(scanner.nextInt());
    }
}
